<?php defined('SEJUJOPEFDNGJSL') or exit('Access denied');?>
<?php
if(empty($_SESSION["checkscode"])||!strstr($_SESSION["checkscode"],'modmb')){
    $_GET["m"]="modmb";
    @require(ROOTTHEMETEMP."checkscode.inc.php");
    exit;
}
$rr=$config->getmb();
?>
    <?php require("topbut.php") ?>
<!-- <div class="right_center">密保修改</div> -->
<style type="text/css">
    .mybantable td{padding:5px 0;}
</style>
<div class="panel panel-inverse">
    <div class="panel-heading">
        <h4 class="panel-title">密保修改</h4>
    </div>
    <div class="panel-body">
        <form action="control.php" method="post" onsubmit="return chkmb()" class="form-horizontal">
            <input type="hidden" name="act" value="modmb">
            <div class="form-group">
                <label class="col-md-3 control-label ui-sortable">新密保问题</label>
                <div class="col-md-9 ui-sortable">
                    <select name="mbq" id="mbq" class="form-control">
                        <option value="-1">请选择您的密保问题?</option>
                    <?php foreach ($rr as $k => $v) { ?>
                        <option value="<?php echo $k;?>"><?php echo $v;?></option>
                    <?php } ?>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label ui-sortable">新密保答案</label>
                <div class="col-md-9 ui-sortable">
                    <input type="text" name="mba" id="mba" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-9 col-md-offset-3 ui-sortable">
                    <button type="submit" class="btn btn-md btn-warning">修改</button>
                </div>
            </div>
            <!-- <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:5px;" class="baitab mybantable" align="center">
                <tbody>
                    <tr>
                        <td width="25%" valign="top" align="right"><i>*</i><span class="regc">新密保问题</span></td>
                        <td valign="top" align="left">
                            <select name="mbq" id="mbq" class="reginput" style="width: 400px;height: 40px;">
                                <option value="-1">请选择您的密保问题?</option>
                            <?php foreach ($rr as $k => $v) { ?>
                                <option value="<?php echo $k;?>"><?php echo $v;?></option>
                            <?php } ?>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td width="25%" valign="top" align="right"><i>*</i><span class="regc">新密保答案</span></td>
                        <td valign="top"><input type="text" name="mba" id="mba" class="reginput"  style="width: 398px;"></td>
                    </tr>
                     <tr>
                        <td width="25%" valign="top" align="right" style="height:50px;line-height:50px"></td>
                        <td valign="top" style="height:50px;line-height:50px"><input type="submit" value="修改" class="btn" style="width: 400px;height: 50px;"></td>
                    </tr>
                </tbody>
            </table> -->
        </form>
    </div>
</div>
